New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
include: split public and private headers & prototype libsclang interface #703
include: split public and private headers & prototype libsclang interface #703
Conversation
Not precisely. The plugin interface also modifies the headers affected by this patch, in order to extract a minimal needed subset of API. But that means only an inconvenience and is no big deal to solve, so never mind.
Sounds good! |
fwiw, |
Both LanguageClient and TerminalClient are useful publicly: the latter has additional public interface to be used externally, and would have no sense as a virtual interface of LanguageClient. |
jakob, which parts of |
also, stefan, why did you expose the symbols? afaict the methods using them could be be hidden in the implementation, so that PyrSymbol could be moved completely out of the public interface |
it was meant as an optimization for often sent symbols and i think i've used them in a GUI client once. i think it would be better to hide them and keep PyrSymbol out of the public interface as you say. thanks for this patch, it was long needed ;) |
…face Signed-off-by: Tim Blechmann <tim@klingt.org>
looking at the code, i'd suggest to move SC_StringBuffer out of the public interface. one cannot use it without compiling the related source file, but it is trivial to use the LanguageClient without ... |
On 03/01/2013, at 10:23, Tim Blechmann notifications@github.com wrote:
sk |
linking to the library is one thing, exporting the symbols of the class is another (atm SC_StringBuffer is not exported). but afaict it does not look too different from a std::string or std::vector |
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Tim Blechmann <tim@klingt.org>
cleans up the initialization code for primitives Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Tim Blechmann <tim@klingt.org>
ok, after exposing |
Signed-off-by: Tim Blechmann <tim@klingt.org>
plugins only acquire the NRT lock, but should to that via the interface table Signed-off-by: Tim Blechmann <tim@klingt.org>
Signed-off-by: Tim Blechmann <tim@klingt.org>
include: split public and private headers & prototype libsclang interface
hi all,
i'd like to merge this patch. it does:
jakob, two points for you:
thoughs?
Signed-off-by: Tim Blechmann tim@klingt.org